package com.ctshk.rpc.order.goods.req;

import com.ctshk.rpc.order.goods.req.conmodity.OrderCommodityRefundCancelReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  订单退款记录-入參
 * </p>
 *
 * @author 黄先
 */
@Data
@ApiModel(value="OrderCommodityRefundReq2对象", description="订单退款记录")
public class OrderCommodityRefundReq2 implements Serializable{
    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID", required = true)
    private Long orderId;

    @ApiModelProperty(value = "取消原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "付款状态 1：待支付; 2：已付款")
    private Integer paymentStatus;

    @ApiModelProperty(value = "订单状态 1：待付款; 2：待发货; 3：待收货; 4：已完成; 5：已取消")
    private Integer orderStatus;

    @NotNull(message = "退款单号不能为空")
    @ApiModelProperty(value = "退款单号", required = true)
    private String refundNumber;

    @NotNull(message = "退款信息列表不能为空")
    @ApiModelProperty(value = "退款信息列表", required = true)
    private List<OrderCommodityRefundCancelReq> orderCommodityRefundCancelReqList = new ArrayList<>();
}
